home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / editor / j414src.arc / MAKEFILE < prev    next >
Text File  |  1989-10-27  |  2KB  |  64 lines

  1. ###########################################################################
  2. # This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne.  JOVE #
  3. # is provided to you without charge, and with no warranty.  You may give  #
  4. # away copies of JOVE, including sources, provided that this notice is    #
  5. # included in all the files.                                              #
  6. ###########################################################################
  7.  
  8. .asm.obj:
  9.     masm /Mx $< ;
  10.  
  11. MEM = L              # M for medium or L for large
  12. DEB = -Gs -Os        # use -Zi and MEM = M for debugging
  13. #
  14. # define LINT_ARGS to use function prototypes
  15. #
  16. CFLAGS = -A$(MEM) -J -Zp $(DEB) -DIBMPC
  17. LIB = C:\USR\LIB
  18. #
  19. # linker flags: for debugging use /NOE/NOI/F/B/PAC/CO/STACK:0x2000
  20. #
  21. LDFLAGS = /NOE/NOI/MAP/F/B/E/PAC/STACK:0x2000
  22. #
  23. # set VPATH as below if you have sources in SRC
  24. #
  25. SRC = .
  26. # VPATH = .;..    # should read .;$(SRC) - but doesn't work
  27.  
  28. OBJECTS = keys.obj funcdefs.obj abbrev.obj ask.obj buf.obj c.obj \
  29.     case.obj ctype.obj delete.obj extend.obj argcount.obj \
  30.     insert.obj io.obj jove.obj macros.obj marks.obj misc.obj move.obj \
  31.     paragrap.obj proc.obj re.obj re1.obj scandir.obj \
  32.     list.obj keymaps.obj tune.obj util.obj vars.obj wind.obj \
  33.     fmt.obj disp.obj term.obj version.obj fp.obj screen.obj getch.obj \
  34.     pcscr.obj
  35.  
  36. HEADERS = ctype.h io.h jove.h re.h list.h temp.h termcap.h tune.h externs.h
  37.  
  38. jove.exe:    $(OBJECTS) $(HEADERS)
  39.     link @jove.lnk
  40.  
  41. $(OBJECTS): $(HEADERS)
  42.  
  43. setmaps.exe:    setmaps.obj funcdefs.c
  44.     cl setmaps.obj
  45.  
  46. setmaps.obj:    funcdefs.c keys.txt
  47.     cl $(CFLAGS) $(SRC)\setmaps.c
  48.  
  49. keys.c:    setmaps.exe keys.txt
  50.     setmaps < keys.txt > keys.c
  51.  
  52. keys.obj:    keys.c jove.h
  53.     $(CC) $(CFLAGS) -I$(SRC) -c keys.c
  54.  
  55. # to avoid accidental loss under unix
  56. tune.c:    tune.dos
  57.     copy tune.dos tune.c
  58.  
  59. tune.obj: tune.c
  60.     $(CC) $(CFLAGS) -I$(SRC) -c tune.c
  61.  
  62. clean:
  63.     -rm *.obj setmaps.exe keys.c *.bak *.map
  64.